[Top] [Prev] [Next] [Bottom] [Contents]

SaFormHidden

Prints a hidden form element to an HTML stream.

Synopsis

#include "SaRnHtml"
int SaFormHidden(char* ename,
						char* evalue);

Argument

ename
A string specifying the name of the hidden element. This string is converted to an HTML-compatible string. If ename is empty or NULL, SaFormName is used as the element name.
evalue
A string specifying the value of the hidden element. This string is converted to an HTML-compatible string. If evalue is NULL, an empty string is used.

Return Values

Returns an integer with a value of 0.

Description

Prints a hidden form element to an HTML stream. A hidden form element can be used to store state information in the clients's browser.

Example

The code fragment:

SaFormHidden("COOKIE", "81723");
will write:

<INPUT TYPE="hidden" NAME="COOKIE" VALUE="81723">
to the output stream.

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.